package com.wl.jetpackdemo.bottomtab

import com.flyco.tablayout.listener.CustomTabEntity

/**
 *
 * Created by wangliang on 2021/1/30.
 */
class TabEntity(private val title: String, private val selectIcon: Int, private val unSelectIcon:Int) : CustomTabEntity {

    override fun getTabTitle(): String {
        return title
    }

    override fun getTabSelectedIcon(): Int {
        return selectIcon
    }

    override fun getTabUnselectedIcon(): Int {
        return unSelectIcon
    }
}